﻿// -----------------------------------------------------------------------
// <copyright file="IUnitOfWork.cs" company="AdrotMinds">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

using System;

namespace HomeCareLibrary.Core
{
    public interface IUnitOfWork : IDisposable
    {
        /// <summary>
        /// Saves the changes.
        /// </summary>
        void SaveChanges();

        /// <summary>
        /// Gets a value indicating whether this instance is disposed.
        /// </summary>
        /// <value>
        /// <c>true</c> if this instance is disposed; otherwise, <c>false</c>.
        /// </value>
        bool IsDisposed { get; }
    }
}
